package org.example.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @author jiangyong
 */
@Data
public class User implements Serializable {

    private static final long serialVersionUID = -2612036899086484763L;
    private Integer id;

    private String userName;

    private Integer passWord;

    private String realName;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime time;

    private List<String> imageUrl;

}